#{extends 'CRUD/layout.html' /}
#{set title:messages.get('crud.blank.title', type.modelName) /}

<div class="col-lg-12">
	<div class="${type.name} panel panel-default">
		<div class="panel-heading">
		    	<h3 class="panel-title">&{'crud.list.title', type.name}</h3>
		 </div>
	
	    <div class="panel-body">
	    #{form action:@create(), enctype:'multipart/form-data' ,class:'form-horizontal'}
	        #{crud.form /}
	        <div class="col-lg-8 col-lg-offset-2">
	            <input type="submit" class="btn btn-primary" name="_save" value="&{'crud.save', type.modelName}" />
	            <input type="submit" class="btn btn-success" name="_saveAndContinue" value="&{'crud.saveAndContinue', type.modelName}" />
	            <input type="submit" class="btn btn-info" name="_saveAndAddAnother" value="&{'crud.saveAndAddAnother', type.modelName}" />
	        </div>
	    #{/form}
	    </div>
	</div>
</div>